package com.lebang.feign.bus.fallback;

import com.lebang.feign.bus.MemberBussSiteRecordFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

@Component
public class MemberBussSiteRecordFallback implements MemberBussSiteRecordFeign {

    @Override
    public JsonData add(RequestUserInfo request, String site, String message, Integer type, String poiId, String cityId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData delOne(RequestUserInfo request, String poiId, String cityId) {
        return FAIL_JSON;
    }
}
